/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package DBConnection;

/**
 * Special class for working with beans
 * @author Kostik
 */
public class ATeamObject {
    private int objectId;
    private int price;
    private int priceMax;
    private int typeOfPrice;
    private String name;
    private String objectDescription;
    private boolean containName;
    private int number;
    private int parentId;
    private int typeOfObject;
    private String createDate;
    private String lastModifyDate;
    private int manufacturerId;

    public ATeamObject() {
        objectId=0;
        price=0;
        priceMax=0;
        typeOfPrice=0;
        name = null;
        objectDescription = null;
        containName = false;
        parentId = 0;
        number=0;
        typeOfObject = 0;
    }
    
    /**
     * Sets value of designated parameter in <i>manufacturerId</i>
     * @param manufacturerId_ The value to be set <i>in manufacturerId</i>
     */
    public void setManifacturerId(int manufacturerId){
        this.manufacturerId = manufacturerId;
    }

    /**
     * returns value of <i>manufacturerId</i>
     * @return manufacturerId
     */
    public int getManufacturerId(){
        return manufacturerId;
    }

    /**
     * Sets value of designated parameter in <i>typeOfObject</i>
     * @param typeOfObject_ The value to be set in <i>typeOfObject</i>
     */
    public void setTypeOfObject(int typeOfObject){
        this.typeOfObject = typeOfObject;
    }

    /**
     * returns value of <i>typeOfObject</i>
     * @return typeOfObject
     */
    public int getTypeOfObject(){
        return typeOfObject;
    }

    /**
     * returns value of <i>createDate</i>
     * @return createDate
     */
    public String getCreateDate(){
       return createDate;
    }

    /**
     * returns value of <i>lastModifyDate</i>
     * @return lastModifyDate
     */
    public String getLastModifyDate(){
        return lastModifyDate;
    }
    
    /**
     * Sets value of designated parameter in <i>createDate</i>
     * @param createDate_ The value to be set <i>in createDate</i>
     */
    public void setCreateDate(String createDate) {
        this.createDate = createDate;
    }

    /**
     * Sets value of designated parameter in <i>lastModifyDate</i>
     * @param lastModifyDate_ The value to be set in <i>lastModifyDate</i>
     */
    public void setLastModifyDate(String lastModifyDate) {
        this.lastModifyDate = lastModifyDate;
    }

    /**
     * returns value of <i>objectDescription</i>
     * @return objectDescription
     */
    public String getObjectDescription(){
        return objectDescription;
    }

    /**
     * Sets value of designated parameter in <i>objectDescription</i>
     * @param objectDescription_ The value to be set in <i>objectDescription</i>
     */
    public void setObjectDescription(String objectDescription){
        this.objectDescription = objectDescription;
    }

    /**
     * Sets value of designated parameter in <i>typeOfPrice</i>
     * @param typeOfPrice_ The value to be set in <i>typeOfPrice</i>
     */
    public void setTypeOfPrice(int typeOfPrice){
       this.typeOfPrice = typeOfPrice;
    }
    
    
    /**
     * Sets value of designated parameter in <i>priceMax</i>
     * @param priceMax_ The value to be set in <i>priceMax</i>
     */
    public void setPriceMax(int priceMax){
        this.priceMax= priceMax;
    }
    
    /**
     * Sets true in <i>containName</i>
     */
    public void setContainName(){
        this.containName = true;
    }
    
    /**
     * Sets value of designated parameter in <i>objectId</i>
     * @param objectId_ The value to be set in <i>objectId</i>
     */
    public void setObjectId(int objectId){
        this.objectId=objectId;
    }
    
    /**
     * Sets value of designated parameter in <i>price</i>
     * @param price_ The value to be set in <i>price</i>
     */
    public void setPrice(int price){
        this.price=price;
    }
    
    /**
     * Sets value of designated parameter in <i>name</i>
     * @param name_ The value to be set in <i>name</i>
     */
    public void setName(String name){
        this.name=name;
    }
    
    /**
     * Sets value of designated parameter in <i>number</i>
     * @param number_ The value to be set in <i>number</i>
     */
    public void setNumber(int number){
        this.number=number;
    }
    
    /**
     * returns value of <i>parentId</i>
     * @return parentId
     */
    public int getParentId(){
        return parentId;
    }
    
    /**
     * Sets value of designated parameter in <i>parentId</i>
     * @param parentId_ The value to be set in <i>parentId</i>
     */
    public void setParentId(int parentId){
        this.parentId = parentId;
    }
    
    /**
     * returns value of <i>typeOfPrice</i>
     * @return typeOfPrice
     */
    public int getTypeOfPrice(){
        return typeOfPrice;
    }
    
    /**
     * returns value of <i>priceMax</i>
     * @return priceMax
     */
    public int getPriceMax(){
        return priceMax;
    }
    
    /**
     * returns value of <i>containName</i>
     * @return containName
     */
    public boolean getContainName(){
        return containName;
    }
    
    /**
     * returns value of <i>objectId</i>
     * @return objectId
     */
    public int getObjectId(){
        return objectId;
    }
    
    /**
     * returns value of <i>price</i>
     * @return price
     */
    public int getPrice(){
        return price;
    }
    
    /**
     * returns value of <i>name</i>
     * @return name
     */
    public String getName(){
        return name;
    }
    
    /**
     * returns value of <i>number</i>
     * @return number
     */
    public int getNumber(){
        return number;
    }
}
